package string;

public class StringStringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder builder=new StringBuilder();
        builder.append("hello");
        System.out.println(builder);
        builder.insert(builder.length()," world");
        System.out.println(builder);
        builder.replace(6,builder.length(),"你好世界");
        System.out.println(builder);
        builder.delete(5,builder.length());
        System.out.println(builder);

    }
}
